Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature created my campaigns tab #1067

Merged
merged 6 commits into from
Oct 24, 2022
Merged

Conversation

marinovl7
Copy link
Member

@marinovl7 marinovl7 commented Oct 19, 2022

Motivation and context

Once the user creates a campaign and participates as organizer,beneficiary or coordinator the user can not manage their campaigns and can't edit them or view a lot of information about the campaigns.The user also can't see how the campaigns that they donated to is developing, like for example did a campaing reach their target amount and etc.Also the user cannot edit or delete the campaign.

Closes #1054

Now the user has another tab in my profile, where the user can view all the campaigns that they donated to and all the campaigns that the user participates as organizer,beneficiary or coordinator and in the case that the user is organizer,beneficiary or coordinator the user could later edit or delete the campaign

I solved the problem this way - I created two DataGrids - one for the donatedTo campaigns and one for the participationCampaigns. In each DataGrid there is a lot of data like actions,targetAmount,campaignDescription and so on - a lot of information that the user can see now. Also the user is now unable to edit their campaigns,but that will be also handled soon. The user also can filter the campaigns by every possible field, can view the extended description,can click on the campaign etc.

Screenshots:

| Before |

Screenshot (54)

| After |

Screenshot (52)
Screenshot (53)

Testing

I tested my changes with the api and tried to find some bugs but if there is some bug or error everything is handled and it shows the user that something went wrong

I changed the locales because of the translations and also the apiEndpoints.ts and campaigns.ts because of the API endpoints

@marinovl7 marinovl7 added the hacktoberfest https://hacktoberfest.com/participation/ label Oct 19, 2022
@igoychev igoychev merged commit 9146893 into master Oct 24, 2022
@igoychev igoychev deleted the feature-created-my-campaigns-tab branch October 24, 2022 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest https://hacktoberfest.com/participation/
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Add "My campaigns" tab to My Profile page
3 participants